<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title><s:property value='%{getText("parameter_title")}' />
		</title>
		<link href="/SCMDB/style/main.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="/SCMDB/js/Super.js"></script>
		<s:include value="../commonPage/message.jsp" />
	</head>
	<body>
		<h2>
			<s:property value='%{getText("current_position")}' />
			${parentMenu}>>${currentMenu}
		</h2>
		<div class="main">
			<s:form action="parameterAction" method="post" theme="simple">
				<p class="pEdit">
					<%=request.getAttribute("button") %>
				</p>
				<table border="0" cellpadding="1" cellspacing="1" class="tableList">
					<thead>
						<tr>
							<th width="25">
								<input type="checkbox" name="checkbox" value="checkbox"
									onclick="Super.checkAll(this.checked)" title="全选/取消" />
							</th>
							<th width="30" class="number">
								<s:property value='%{getText("parameter_legend")}' />
							</th>
							<th>
								<s:property value='%{getText("parameter_td1")}' />
							</th>
							<th>
								<s:property value='%{getText("parameter_td2")}' />
							</th>
							<th>
								<s:property value='%{getText("parameter_td3")}' />
							</th>
							<th>
								<s:property value='%{getText("parameter_th1")}' />
							</th>
							<th>
								<s:property value='%{getText("parameter_th2")}' />
							</th>

							<th>
								园编码
							</th>

						</tr>
					</thead>
					<tbody>
						<s:iterator value="#request.ParList" id="parameter" status="u">
							<tr>
								<td>
									<input type="checkbox" name="checkbox" value="${parameter.id}" />
								</td>
								<td class="number">
									${entity.index+u.index}
								</td>
								<td>
									${parameter.headName}
								</td>
								<td>
									${parameter.personOut}
								</td>
								<td>
									${parameter.timeOut}
								</td>
								<td>
									${parameter.refreTime}

								</td>

								<td>
									<s:property value="#session.useType.get(#parameter.asUse)" />
								</td>
								<td>
									${parameter.globalID}
								</td>
							</tr>
						</s:iterator>
					</tbody>
				</table>
			</s:form>
		</div>
	</body>
</html>
